<div id="user_role_select">
     
<%= collection_select(:role, :id, roles, :id, :name, options = {:prompt => t(:choose_role)},
{ :onChange => remote_function( :url => {:action => "user_role_changed"}, :with => "'user_role_id='+this.value")}) %>

</div>
